(function (angular) {
    'use strict';
    var loggerModule = angular.module("fs.logger");
    loggerModule.config(['loggerFactoryProvider', function (loggerFactoryProvider) {
        loggerFactoryProvider.setPrefixPattern('[%s - %s - %s]: ');
        loggerFactoryProvider.setDatetimePattern('hh:mm:ss');
        loggerFactoryProvider.setLogLevels({
            '*': loggerFactoryProvider.LEVEL.DEBUG
        });
    }]);

    loggerModule.run(['loggerFactory', function (loggerFactory) {
		/**
		 * init loggerFactory
		 */
        loggerFactory.getLogger();
    }]);
})(angular);